<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%request.setAttribute("path", request.getContextPath());%>
<jsp:include page="head.jsp" />
<link rel="stylesheet" type="text/css" href="${path}/resources/css/monitor-taskstatistics.min.css?" />
<jsp:include page="nav.jsp" />
<div id="content">
	<div id="breadcrumb">
		<a href="#" title="Go to Home" class="tip-bottom">
		 	<i class="icon-home"></i>Home
	 	</a>
	    <a href="#" class="current">task statistics</a>
	</div>
	<div class="content-table">
		<div style="margin : 10px 0 0 0">
		     <select name="dateChoose" id="dateChoose" style="margin-bottom: 0; margin-right: 10px">
		         <option value="">所有任务</option>
		         <option value ="0" selected="selected">最近一小时</option>
				 <option value ="1">最近一天</option>
				 <option value ="3">最近三天</option>
				 <option value="7">最近一周</option>
			 </select><button class="btn btn-inverse update-btn"><i class="icon-filter icon-white"></i>Filter</button>&nbsp;
			 <button class="btn btn-inverse update-btn"><i class="icon-refresh icon-white"></i>Refresh</button></div>
		<div class="">
			<div class="">
				<div class="widget-box">
					<div class="widget-title">
						<h5>task statistics</h5>
					</div>
					<div class="widget-content nopadding" >
						<table class="table table-bordered table-striped">
							<thead>
								<tr>
									<th>任务类型</th>
									<th>总数量</th>
									<th>未完成数</th>
									<th>等待数</th>
									<th>等待率</th>
									<th>处理数</th>
									<th>处理率</th>
									<th>完成数</th>
									<th>完成率</th>
									<th>成功数</th>
									<th>成功率</th>
									<th>失败数</th>
									<th>失败率</th>
									<th>最小等待(ms)</th>
									<th>最大等待(ms)</th>
									<th>平均等待(ms)</th>
									<th>最小处理(ms)</th>
									<th>最大处理(ms)</th>
									<th>平均处理(ms)</th>
								</tr>
							</thead>
							<tbody id="task_statistics">
							</tbody>
						</table>
					</div>
					<div class="loading" id="loading">
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<%@ include file="footer.jsp"%>
<script src="${path}/resources/js/monitor-taskstatistics.min.js"></script>
</body>
</html>
